package com.suixuan.spring.service.impl.security;

import javax.annotation.Resource;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;

import com.suixuan.spring.dao.security.UsersDaoImpl;
import com.suixuan.spring.entity.security.Users;
import com.suixuan.spring.service.security.IUsersService;
import com.suixuan.support.service.impl.BaseServiceImpl;

/**
 * 
 * @Title: UserServiceImpl.java
 * @Package com.suixuan.spring.service.impl.security
 * @Description: 用户业务接口实现
 * @author suixuan
 * @date 2010-11-10 下午03:40:27
 * @version V1.0
 */
@Service
public class UsersServiceImpl extends BaseServiceImpl<UsersDaoImpl, Users, Long> implements IUsersService {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6400212247077534372L;

	/**
	 * 用户Dao接口实现
	 */
	@Resource(name = "usersDaoImpl")
	@Override
	protected void setBaseDao(UsersDaoImpl usersDaoImpl) {
		super.baseDaoImpl = usersDaoImpl;
	}

	@Override
	public UserDetails loadUserByUsername(String arg0) throws UsernameNotFoundException {
		// TODO Auto-generated method stub
		return null;
	}

}
